//
//  ChildViewCell.h
//  Village
//
//  Created by 程虎 on 2017/9/7.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VillageModel.h"

typedef void(^ShareNewsBlock)(VillageModel *model);

@interface ChildViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIImageView *icon;

@property (weak, nonatomic) IBOutlet UILabel *nameLab;

@property (weak, nonatomic) IBOutlet UIButton *shareBtn;

@property (weak, nonatomic) IBOutlet UILabel *timeLab;

@property (weak, nonatomic) IBOutlet UILabel *contentLab;

@property (weak, nonatomic) IBOutlet UIImageView *newsTypeImg;

@property (weak, nonatomic) IBOutlet UILabel *addressLab;
@property (nonatomic, strong) VillageModel *model;

@property (nonatomic, copy) ShareNewsBlock shareBlock;

+ (instancetype)cellWithTableView:(UITableView *)tableView;
@end
